package com.flyqiu.flow.bpmn.base;

import com.alibaba.fastjson2.annotation.JSONField;
import com.flyqiu.flow.bpmn.element.IProcElement;
import com.flyqiu.flow.bpmn.element.SequenceFlow;


import java.util.List;

public interface BaseProcElementNode extends IProcElement {

    void setDefaultTargetKey(String defaultTargetKey);

    String getDefaultTargetKey();

    @JSONField(deserialize = false, serialize = false)
    void setIngoingFlows(List<SequenceFlow> ingoingFlows);

    @JSONField(deserialize = false, serialize = false)
    List<SequenceFlow> getIngoingFlows();


    @JSONField(deserialize = false, serialize = false)
    void setOutgoingFlows(List<SequenceFlow> ingoingFlows);

    @JSONField(deserialize = false, serialize = false)
    List<SequenceFlow> getOutgoingFlows();
}
